Implementing Lowest-Order Methods for Diffusive Problems with a DSEL
نویسنده
چکیده
Industrial simulation software have to manage: (i) the complexity of the underlying physical models, (ii) the complexity of numerical methods used to solve the PDE systems, and finally (iii) the complexity of the low level computer science services required to have efficient software on modern hardware. Nowadays, some frameworks offer a number of advanced tools to deal with the complexity related to parallelism in a transparent way. However, high level complexity related to discretization methods and physical models lack of tools to help physicists to develop complex applications. Generative programming and domain-specific languages (DSL) are key technologies allowing to write code with a high level expressive language and take advantage of the efficiency of generated code for low level services. Their application to Scientific Computing has been up to now limited to Finite Element (FE) methods and Galerkin methods, for which a unified mathematical framework has been existing for a long time (see projects like Freefem++, Getdp, Getfem++, Sundance, Feel++ [3], Fenics project). In reservoir and basin modeling, lowest order methods are promising methods allowing to handle general meshes. Extending Finite Volume (FV) methods, Aavatsmark, Barkve, Bøe and Mannseth propose consistent schemes for non orthogonal meshes while stability problems are solved with the Mimetic Finite Difference method (MFD) and the Mixte/Hybrid Finite Volume methods (MHFV) [1]. However the lack of a unified mathematical frame was a serious limit to the extension all of these methods to a large variety of problems. In [2], the authors propose a unified way to express FV multi-points scheme and DFM/VFMH methods. This mathematical frame allows us to extend the DSL used for FE and Galerkin methods to lowest order methods. We focus then on the capability of such language to allow the description and the resolution of various and complex problems with different lowest-order methods. We validate the design of the DSL that we have embedded in C++, on the implementation of several academic problems. We present some convergence results and J.-M. Gratien IFP Energies nouvelles, 1 et 4 av Bois Préau 92500 Rueil-Malmaison, France e-mail: [email protected]
منابع مشابه
Implementing a Domain Specific Embedded Language for lowest-order variational methods with Boost Proto
In this paper we propose an original implementation for a large family of lowest-order methods to solve diffusive problems with a FreeFEM-like domain specific language targeted at defining discrete linear and bilinear forms. We discuss how by using the Boost Proto framework we have developped the back-end and the front-end of the language.We validate the proposed DSEL design by the implementati...
متن کاملLowest order methods for diffusive problems on general meshes: A unified approach to definition and implementation
In this work we propose an original point of view on lowest order methods for diffusive problems which aims at laying the pillars of a C++ multi-physics, FreeFEM-like platform. The key idea is to regard lowest order methods as (Petrov)Galerkin methods based on possibly incomplete, broken polynomial spaces defined from a gradient reconstruction. After presenting some examples of methods entering...
متن کاملArcFVDSL, a DSEL Combined to HARTS, a Runtime System Layer to Implement Efficient Numerical Methods to Solve Diffusive Problems on New Heterogeneous Hardware Architecture
Nowadays, some frameworks likeArcane andDune offer a number of advanced tools to deal with the complexity related to parallelism, meshes and linear solvers. However, they do not handle the high level complexity related to discretization methods and physical models. Generative programming and Domain Specific Languages (DSL) are key technologies allowing to write code with a high level expressive...
متن کاملThree-dimensional Free Vibration Analysis of a Transversely Isotropic Thermoelastic Diffusive Cylindrical Panel
The present paper is aimed to study an exact analysis of the free vibrations of a simply supported, homogeneous, transversely isotropic, cylindrical panel based on three-dimensional generalized theories of thermoelastic diffusion. After applying the displacement potential functions in the basic governing equations of generalized thermoelastic diffusion, it is noticed that a purely transverse mo...
متن کاملAnalysis of Plane Waves in Anisotropic Magneto-Piezothermoelastic Diffusive Body with Fractional Order Derivative
In this paper the propagation of harmonic plane waves in a homogeneous anisotropic magneto-piezothermoelastic diffusive body with fractional order derivative is studied. The governing equations for a homogeneous transversely isotropic body in the context of the theory of thermoelasticity with diffusion given by Sherief et al. [1] are considered as a special case. It is found that three types of...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2013